html, body {
    margin:0; 
    padding:0;
    height:100%;
    overflow:hidden;
    font-family:"Helvetica Neue",HelveticaNeue,"Helvetica-Neue",Helvetica,"BBAlpha Sans",sans-serif;
}
input, textarea, select {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
}
body{
    font-size:114%;/*18px*/
}
*, *:after, *:before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	-webkit-user-drag: none;
}
input, textarea {
-webkit-user-select: text;
outline:none;
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td {
margin: 0;
padding: 0;
}
div.error {
    color:red;
    font-weight:700;
    text-align:left;
}
.touch-shadow{
	-webkit-box-shadow: rgba(0,0,0,0.8) 0 .2em .6em;
}
.touch-screen-body{
	height:100%;
	display:-webkit-box;
	-webkit-box-flex: 1;
	-webkit-border-radius: .3em;
	border-radius: .3em;
	background-image: none;
	background-color: #03111a;
}
.touch-box-vertical,.touch-box-horizontal{
	display:-webkit-box;
	-webkit-box-flex: 1;
	min-width: 100%;
	min-height: 100%;
}
.touch-box-vertical{
	-webkit-box-orient: vertical;
}
.touch-box-horizontal{
	-webkit-box-orient: horizontal;
}
.touch-tool-bar{
	display:-webkit-box;
    height:2.6em;
    background-color: #1468a2;
    background-image: -webkit-linear-gradient(top,#1e93e4,#1676b9 3%,#11598c);
    background-image: linear-gradient(top,#1e93e4,#1676b9 3%,#11598c);
    padding:0 0.2em;
    color:white;
    text-align:center;
    border-top: .1em solid black;
    border-bottom: .1em solid black;
	-webkit-box-align: center;
}
.touch-btn{
	-webkit-background-clip: padding;
	background-clip: padding-box;
	-webkit-border-radius: .4em;
	border-radius: .4em;
	display: -webkit-box;
	display: box;
	-webkit-box-align: center;
	box-align: center;
	min-height: 1.8em;
	padding: .3em .6em;
	position: relative;
	overflow: hidden;
	-webkit-user-select: none;
	background-image: none;
	background-color: #ccc;
	background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#f2f2f2),color-stop(3%,#d9d9d9),color-stop(100%,#bfbfbf));
	background-image: -webkit-linear-gradient(top,#f2f2f2,#d9d9d9 3%,#bfbfbf);
	background-image: linear-gradient(top,#f2f2f2,#d9d9d9 3%,#bfbfbf);
	font-size: 1em;
}
.touch-btn-label{
	font-size: .7em;
	font-weight: bold;
	line-height: 1.2em;
	display: block;
	overflow: hidden;
}
.touch-tool-bar .touch-btn{
	background-image: none;
	background-color: #11598c;
	background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#1985d0),color-stop(3%,#1468a2),color-stop(100%,#0e4b75));
	background-image: -webkit-linear-gradient(top,#1985d0,#1468a2 3%,#0e4b75);
	background-image: linear-gradient(top,#1985d0,#1468a2 3%,#0e4b75);
	border: 1px solid #061f31;
	border-top-color: #092e47;
	color: white;
	margin: 0 .2em;
	padding: .3em .6em;
}
.touch-tool-bar-title{
	line-height:2.1em;
	font-weight:700;
    font-size:1.2em;
	-webkit-box-flex: 1;
	text-shadow: #000 0 1px 1px;
}
.touch-scroll-panel{
	background-color: #eee;
	-webkit-border-radius: .3em;
	border-radius: .3em;
	overflow: hidden;
	-webkit-box-flex: 1;
	min-width: 100%;
	min-height: 100%;
	position:relative;
}
.touch-scroll-container{
	position: absolute;
	min-width: 100%;
	min-height: 100%;
}

button::-moz-focus-inner {
    border: 0; 
}
button.btn {
    background-color: #7fbf4d;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #F6F6F6), color-stop(100%, #ccc));
    border: 1px solid #B0B0B0;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    padding:0px;
    width:100%;
    height:37px;
    font-size:14px;
    font-weight:700;
    letter-spacing:2px;
    font-family: 微软雅黑,arial;
    text-align: center;
    text-shadow: 0 -1px 0 #fff;  
}
button.green ,.touch-tool-bar button.green{
	border: 1px solid #263501;
	border-top-color: #374e02;
	color: white;
	background-image: none;
	background-color: #6c9804;
	background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#a2e306),color-stop(3%,#7eb105),color-stop(100%,#5b7f03));
	background-image: -webkit-linear-gradient(top,#a2e306,#7eb105 3%,#5b7f03);
	background-image: linear-gradient(top,#a2e306,#7eb105 3%,#5b7f03);
}
button.red ,.touch-tool-bar button.red{ 
    color: #fff;
    background-color: #7fbf4d;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ED3131), color-stop(100%, #990A0A));
    border: 1px solid #7C170A;
    text-shadow: 0 -1px 0 #4c9021;
}
button.blue ,.touch-tool-bar button.blue{
    color: #fff;
    background-color: #7fbf4d;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4785B9), color-stop(100%, #19578A));
    border: 1px solid #333;
    text-shadow: 0 -1px 0 #4c9021;
}
button.gray ,.touch-tool-bar button.gray{
    color: #333;
    background-color: #7fbf4d;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ECECEC), color-stop(100%, #CDCDCD));
    border: 1px solid #999;
    text-shadow: 0 1px rgba(255, 255, 255, .5);
}
button.black ,.touch-tool-bar button.black{
    color: #fff;
    background-color: #7fbf4d;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #999), color-stop(100%, #2F2F2F));
    border: 1px solid #000;
    text-shadow:none;
}
div.field {
    font-size:14px; 
    line-height:34px;
    overflow:hidden;
    vertical-align:middle;
    border: 1px solid #CCC;
    background: #F2F2F2;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
.field .prompt{
    padding-left:5px;
    width:80px;
    height:30px;
    float:left;
}
input.input,.lov input{
    width:100%;
    padding:5px 0px 5px 0px;
    font-size: 14px;
    background-color:#F4F4F4;
    border: 1px solid #A4A4A4;
    height: auto;
    line-height: 18px;
    vertical-align:middle;
    -moz-box-shadow: 0 1px 3px #c8c8c8 inset;
    -webkit-box-shadow: 0 1px 3px #c8c8c8 inset;
    box-shadow: 0 1px 3px #c8c8c8 inset;
    vertical-align: text-top;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
textarea.textarea {
    width:100%;
    padding:5px 0px 5px 0px;
    font-size: 14px;
    background-color:#F4F4F4;
    border: 1px solid #A4A4A4;
    height: auto;
    -moz-box-shadow: 0 1px 3px #c8c8c8 inset;
    -webkit-box-shadow: 0 1px 3px #c8c8c8 inset;
    box-shadow: 0 1px 3px #c8c8c8 inset;
    vertical-align: text-top;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
.lov:before{
	content: "";
	position: absolute;
	width: 4em;
	height: auto;
	top: 0;
	left: auto;
	right: 0;
	bottom: 0;
	-webkit-border-top-right-radius: .4em;
	border-top-right-radius: .4em;
	-webkit-border-bottom-right-radius: .4em;
	border-bottom-right-radius: .4em;
	background: -webkit-gradient(linear,0% 0,100% 0,from(rgba(255,255,255,0)),color-stop(0.5,white));
	z-index: 1;
}
.lov:after{
	content: "";
	position: absolute;
	width: 1em;
	height: 1em;
	top: 50%;
	left: auto;
	right: .7em;
	margin-top: -0.5em;
	border-radius:0.5em;
	-webkit-mask-size: 1em;
	background:#ccc;
	z-index:2;
}
.datefield{
	overflow: hidden;
	text-align: center;
	-webkit-user-select:none;
}
.datefield-scroller{
	position: absolute;
	top : 0;
	bottom : 0;
}
.datefield-scroller>table{
	border-left: 1px solid #000;
	border-right: 1px solid #000;
}
.datefield-scroller>table>thead>tr>th{
	width:14.28%;
}
.datefield-scroller>table>tbody>tr{
	height:16.67%;
}
.datefield-scroller>table>tbody>tr>td+td{
	border-left: 1px solid #ddd;	
}
.datefield-scroller>table>tbody>tr>td{
	border-bottom: 1px solid #ddd;	
}
.datefield-view{
	height: 100%;
	float : left;
	//background-color:#DDD;
}

.datefield-view thead tr{
	background-color: black;
	color:#fff;
}
.week-alt {
	background-color: #F3F3ED;
}
.touch-mask div {
    width:100%;
    height:100%;
    filter: alpha(opacity=10);
    background-color: #000000;
    opacity: 0.1; 
    MozOpacity: 0.1
}
.message{
	padding-left:15px;
    padding-right:15px;
    border:1px solid #808080;
    border-radius:5px;
    position: absolute;
    background-color:#333;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ccc), color-stop(100%, #333));
	color:#fff;
    font-weight:bold;
    line-height:28px;
    -moz-box-shadow: 3px 3px 3px #000;
	-webkit-box-shadow: 3px 3px 3px #000;
	box-shadow: 3px 3px 3px #000;
	opacity:0;
	display:none;
	max-width:800px;  
}

.touch-mask span {
    padding-left:15px;
    padding-right:15px;
    border:1px solid #808080;
    border-radius:5px;
    position: absolute;
    background-color:#333;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ccc), color-stop(100%, #333));
	color:#fff;
    font-weight:bold;
    line-height:28px;
    height:30px;
    -moz-box-shadow: 3px 3px 3px #000;
	-webkit-box-shadow: 3px 3px 3px #000;
	box-shadow: 3px 3px 3px #000;   
}

.switch-button {
	position:relative;
	background-color: #F4F4F4;
	border: 1px solid #A4A4A4;
	height: auto;
	-moz-box-shadow: 0 1px 3px #c8c8c8 inset;
	-webkit-box-shadow: 0 1px 3px #c8c8c8 inset;
	box-shadow: 0 1px 3px #c8c8c8 inset;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	margin: 2px 0 2px 0;
	overflow: hidden;
	vertical-align: middle;
}
.switch-button table{
	width: 100%;
	height: 100%;
	border-radius: 5px;
}
.switch-left,.switch-right{
	width:50%;
	height:100%;
	padding: 0 5px 0 5px;
	font-weight: bold;
	cursor: default;
}
.switch-left{
	text-align: left;
	color: #fff;
	background-color: rgb(255,155,0);
	border-radius: 5px;
}
.switch-right{
	text-align: right;
	color: #A4A4A4;	
}
.switch-btn{
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 60%;
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #ccc));
	border: 1px solid #A4A4A4;
	border-radius: 5px;
	text-align: center;
	color: #aaa;
	font-size: 22px;
	line-height: 22px;
	cursor: pointer;
	-moz-box-shadow: 1px 1px 3px #c8c8c8;
	-webkit-box-shadow: 1px 1px 3px #c8c8c8;
	box-shadow: 1px 1px 3px #c8c8c8;
}

.list .selected{
	background-color: #017CB9;
	color:white;
}

.upload-list{
	border-radius:5px;
	background:#fff;
	position:absolute;
	top:5px;
	bottom:5px;
	left:5px;
	right:5px;
	box-shadow:1px 1px 3px 1px black;
	opacity:0;
	display:none;
}
.upload-list>div{
	background: #ccc;
}

.upload-list ul{
	padding:5px;
	list-style:none;
}

.upload-item{
	box-shadow:1px 1px 3px 1px #ccc;
	float:left;
	margin:5px;
	font-weight:bold;
	text-align:center;
	padding-bottom:25px;
}
.upload-item-btn:after{
	position:absolute;
	width:24px;
	height:24px;
	right:-6px;
	top:-6px;
	border-radius:12px;
	-moz-box-shadow: 1px 1px 3px #c8c8c8;
	-webkit-box-shadow: 1px 1px 3px #c8c8c8;
	box-shadow: 1px 1px 3px #c8c8c8;
	background:rgb(229,93,89);
	display:inline-block;
	font-weight:bold;
	content:'×';
	line-height: 24px;
	font-size: 16px;
	color:#fff;
	cursor:pointer;
}
.success.upload-item-btn:after{
	background:#00FF00;
	content:'√';
}
.upload-item-content{
	height:100%;
	background:#fff url(uploader_file.gif) no-repeat;
	background-position:center;
	position:relative;
	opacity:0;
}
.upload-item-mask{
	position:absolute;
	left:0;
	top:0;
	right:0;
	bottom:0;
	overflow:hidden;
	display:none;
}
.upload-item-mask-content{
	background:#000 url(uploader_file.gif) no-repeat;
	color:#fff;
	background-position:center;
}
.upload-loading{
	
}
.text-overflow{
	text-overflow:ellipsis;
	overflow: hidden;
	white-space: nowrap;
}
.touch-fieldset{
	display:-webkit-box;
	margin: 0 0 1.5em;
}
.touch-fieldset-title{
	text-shadow: #fff 0 1px 1px;
	color: #333;
	margin: 1em .7em .3em;
	font-weight: bold;
	white-space: nowrap;
}
.touch-fieldset-body{
	background-color: #fff;
	-webkit-border-radius: .3em;
	border-radius: .3em;
	overflow: hidden;
	-webkit-box-flex: 1;
	min-width: 100%;
	min-height: 100%;
	display: -webkit-box;
}
.touch-fieldset-body-inner{
	border: 1px solid #ddd;
	background: #fff;
	padding: 0;
	-webkit-border-radius: .4em;
	border-radius: .4em;
	overflow: hidden;
	-webkit-box-flex: 1;
	min-width: 100%;
	min-height: 100%;
	position: relative;
}
.touch-fieldset-field{
	display:-webkit-box;
	-webkit-box-flex: 1;
	border-bottom: 1px solid #ddd;
	min-height: 2.5em;
	background: transparent;
}
.touch-fieldset-field:first-child {
	-webkit-border-top-left-radius: .4em;
	border-top-left-radius: .4em;
	-webkit-border-top-right-radius: .4em;
	border-top-right-radius: .4em;
}
.touch-fieldset-field:last-child {
	border-bottom: 0;
	-webkit-border-bottom-left-radius: .4em;
	border-bottom-left-radius: .4em;
	-webkit-border-bottom-right-radius: .4em;
	border-bottom-right-radius: .4em;
}
.touch-fieldset-field-label{
	border-top: 1px solid white;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #333;
	text-shadow: rgba(255,255,255,0.25) 0 .08em 0;
	padding: .6em;
	background-color: #f7f7f7;
}
.touch-field-required .touch-fieldset-field-label:after{
	content:'*';
	color: red;
	display: inline;
}
.touch-field-disabled .touch-fieldset-field-label{
	color: #b3b3b3;
	-webkit-text-fill-color: #b3b3b3;
	pointer-events: none;
}
.touch-fieldset-field:last-child .touch-fieldset-field-label{
	-webkit-border-bottom-left-radius: .4em;
	border-bottom-left-radius: .4em;
}
.touch-fieldset-field-label span{
	font-size: .8em;
	font-weight: bold;	
}
.touch-fieldset-field-input-outer{
	-webkit-box-flex: 1;
}
.touch-fieldset-field-input{
	width: 100%;
	position: relative;
	min-width: 3.7em;
}
.touch-fieldset-field-input input.input,.touch-fieldset-field-input textarea.textarea ,.touch-fieldset-field-input .lov input{
    width:100%;
    font-size: 1em;
    height: auto;
    line-height: normal;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    vertical-align: baseline;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
	padding: .4em;
	min-height: 2.5em;
	display: block;
	border-width: 0;
	background: transparent;
	-webkit-appearance: none;
}
.touch-fieldset-field-input textarea.textarea {
	min-height: 6em;
	padding-top: .5em;
	font-family:arial;
}
.touch-fieldset-field-input .switch-button {
	min-height: 2.5em;
	width:4.5em;
	border-radius: 1.1em;
	-webkit-border-radius: 1.1em;
	-moz-border-radius: 1.1em;
}
.touch-fieldset-field-input .switch-button table{
	min-height: 2.5em;
}
.touch-fieldset-field-input .switch-btn {
	border-radius: 1.1em;
	-webkit-border-radius: 1.1em;
	-moz-border-radius: 1.1em;
}

.lov-list{
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	background:#03111a;
	background:rgba(0,0,0,0.3);
	z-index:8;
	display:none;
	padding: 3em 1.5em;
}
.lov-list .touch-screen-body{
	padding:6px;
}
.lov-list table{
	width:100%;
}
.lov-list .lov-list-item{
	min-height: 2.5em;
	position: relative;
	color: black;
}
.lov-list .lov-list-item:nth-of-type(even){
	background:#f7f7f7;
}
.lov-list .lov-list-item-field{
	border-bottom: 1px solid #ddd;
	padding: .6em;
	text-align:center;
}

/*TabPanel*/
.touch-tabpanel{
	display: -webkit-box;
	-webkit-box-flex: 1;
}
.touch-tabpanel-tabbar{
	display: -webkit-box;
	height: 3em;
	padding: 0;
	background-color: #1468a2;
	background-image: -webkit-linear-gradient(top,#1e93e4,#1676b9 3%,#11598c);
	background-image: linear-gradient(top,#1e93e4,#1676b9 3%,#11598c);
}
.touch-tabpanel-tabbar-bottom{
	border-top-width: .1em;
	border-top-style: solid;
}
.touch-tabpanel-strip-container{
	-webkit-box-align: center;
	-webkit-box-pack: center;
	position: relative;
}
.touch-tabpanel-strip{
	color:#c1dff4;
	-webkit-border-radius: .25em;
	border-radius: .25em;
	min-width: 3.3em;
	position: relative;
	height:2.9em;
	-webkit-box-flex: 0;
	-webkit-box-align: center;
	-webkit-box-pack: center;
	-webkit-user-select: none;
	padding: .1em 0 .2em 0;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-align: center;
	font-weight: bold;
	line-height: 2.5em;
	overflow: hidden;
	cursor:pointer;
}
.touch-tabpanel-strip-active{
	background-image: none;
	background-color: #2175af;
	background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#195884),color-stop(10%,#1d6699),color-stop(65%,#2175af),color-stop(100%,#2176b1));
	background-image: -webkit-linear-gradient(top,#195884,#1d6699 10%,#2175af 65%,#2176b1);
	background-image: linear-gradient(top,#195884,#1d6699 10%,#2175af 65%,#2176b1);
	text-shadow: rgba(255,255,255,0.25) 0 .08em 0;
	-webkit-box-shadow: #1d6699 0 0 .25em inset;
	box-shadow: #1d6699 0 0 .25em inset;
	color: white;
	border-bottom: 1px solid #278bd1;
}
.touch-tabpanel-body{
	overflow: hidden;
	-webkit-box-flex: 1;
	min-width: 100%;
	min-height: 100%;
	display: -webkit-box;
	position: relative;
}
.touch-tabpanel-card-container{
	position: absolute!important;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}
.touch-tabpanel-card-item{
	background-color: #fff;
	display: -webkit-box;
	position: absolute!important;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.touch-tabpanel-card-item-hide{
	display:none;
}